use opencv::{
	core::SparseMat_Hdr,
	prelude::*,
	Result,
};

#[test]
fn slice_override() -> Result<()> {
	let mut hdr = SparseMat_Hdr::new(&[4, 2], i32::typ())?;
	assert_eq!(4, hdr.size()[0]);
	assert_eq!(2, hdr.size()[1]);
	assert_eq!(0, hdr.size()[2]);
	Ok(())
}
